package com.xyg.common.model;

import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;

public class PageRequestBean extends PageRequest {

	/**
	 * 
	 */
	private static final long serialVersionUID = 553104347392382176L;
	
	private String formName;
	
	private String targetDivName;
	

	/**
	 * @return the formName
	 */
	public String getFormName() {
		return formName;
	}

	/**
	 * @param formName the formName to set
	 */
	public void setFormName(String formName) {
		this.formName = formName;
	}

	/**
	 * @return the targetDivName
	 */
	public String getTargetDivName() {
		return targetDivName;
	}


	/**
	 * @param targetDivName the targetDivName to set
	 */
	public void setTargetDivName(String targetDivName) {
		this.targetDivName = targetDivName;
	}


	public PageRequestBean(int page, int size) {
		super(page, size);
	}
	
	
	public PageRequestBean(int page, int size, Sort sort) {
		super(page, size, sort);
	}
	
	public PageRequestBean(int page, int size, Sort sort,String formName,String targetDivName) {
		this(page, size, sort);
		this.formName = formName;
		this.targetDivName = targetDivName;
	}
	
	public PageRequestBean(int page, int size,String formName,String targetDivName) {
		this(page, size);
		this.formName = formName;
		this.targetDivName = targetDivName;
	}
	
	

}
